% File:     uc-print-results-of-simulation.tex
% Author:   Ryan J. Bovorasmy
% Date:     2007-06-24
% Desc:     This template is used to add a use case to the srs.tex template.
% Rev:      [2007-06-24, Ryan J. Bovorasmy] First major revision.
% Rev:      [2007-10-17, Ryan J. Bovorasmy] Created use case from template.
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% INSTRUCTIONS:
%%
%% This document can be used to create a use case for use with the srs.tex
%% template.
%%
%% Certain sections (such as this one) are delimited with special comments.
%% These sections contain similar material, and should be treated as a group.
%%
%% Comments beginning with *** indicate that editing is necessary in that
%% area. Example:
%%
%% *** Section description. This section needs editing.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
%
% BEGIN COMMAND SECTION
% Do Not edit this section unless you know what you are doing.
%
\providecommand{\usecase}{~}
\providecommand{\usehistory}{~}
\providecommand{\uc}{UC\theusecase}
\providecommand{\actor}{~}
\providecommand{\system}{~}
\setcounter{flownumber}{0}
\providecommand{\flowcounter}{\addtocounter{flownumber}{1} \theflownumber}
%
% END COMMAND SECTION
%
%||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

%==============================================================================
%
% BEGIN VARIABLE SECTION
%
% *** Enter the name of the use case here:
%
\renewcommand{\usecase}{User Prints the Results of a Simulation}
%
% *** Enter the revision history here.
% The format of the history command is as follows:
%
% \history{NAME}{DATE}{BRIEF DESCRIPTION\\}
%
% Notice that a newline is REQUIRED after the description.
%
\renewcommand{\usehistory}%
{%
  \history{Ryan J. Bovorasmy}{2007-10-17}{First major revision.\\}
}
%
% END VARIABLE SECTION
%
%==============================================================================
\addtocounter{usecase}{1}
\subsection{\uc{}: \usecase{}}

%------------------------------------------------------------------------------
% Do not edit this.
%
\paragraph{\uc{}: Revision History}~\\{}
\begin{table}[htbp]
  \begin{tabular}{|l|l|p{.4\textwidth}|}
    \usehistory
    \hline
  \end{tabular}
\end{table}

%------------------------------------------------------------------------------
% *** Enter a brief description.
%
\paragraph{\uc{}: Brief Description}
The user prints the statistical data or charts associated with a simulation.

% %------------------------------------------------------------------------------
% % *** Image/model
% %
% % Uncomment this section if you would like to add an image of the use case
% % here.
% %
% \paragraph{\uc{}: Model}
% If graphics are being used, add an image of the use case here.

%------------------------------------------------------------------------------
% ** Create a list of actors.
%
\paragraph{\uc{}: Actors}
\begin{description}
  \item[User] The user of the \projectname{} software.
  \item[\projectname{}] The \projectname{} software.
\end{description}

%------------------------------------------------------------------------------
% *** Pre-conditions.
%
\paragraph{\uc{}: Pre-Conditions}
\begin{description}
  \item[Simulation Complete] A simulation has been set up, run, and completed.
  \item[Results Visible] The results screen (displayed after a simulation is run) is displayed.
\end{description}

%------------------------------------------------------------------------------
% *** Basic flow.
%
% First enter in the actor name and system name.
%
\renewcommand{\actor}{User}
\renewcommand{\system}{\projectname{}}
\paragraph{\uc{}: Basic Flow}~\\{}~\\{}
\begin{tabular}{|c|p{.4\textwidth}|p{.4\textwidth}|}
  \hline
  \# & \actor{} & \system{} \\
  \hline
  %
  % *** Next, create the rows of the table.
  % Because only one person can be acting at a time, each row should contain
  % one space. Replace the other space with the action.
  %
  \flowcounter{} & The user indicates that they wish to print the results of the simulation. & ~ \\
  \hline
  \flowcounter{} & ~ & The system prepares the results for printing. \\
  \hline
  \flowcounter{} & ~ & The system prints the prepared results. \\
  \hline
\end{tabular}


%------------------------------------------------------------------------------
% *** Alternative flow.
%
%\paragraph{\uc{}: Alternative Flows}
%\begin{description}
%  \item{FLOW} Description.
%  \item{FLOW} Description.
%\end{description}

%------------------------------------------------------------------------------
% *** Exception flow.
%
\paragraph{\uc{}: Exception Flows}
\begin{description}
  \item[Printer Error] All of the actual printing is taken care of by the printer hardware and driver. As such, if there is an error with the printing system that prevents printing, the results shall not print and the system shall revert to the state it was in before the printing was initiated. 
\end{description}

%------------------------------------------------------------------------------
% *** Post-conditions.
%
\paragraph{\uc{}: Post-Conditions}
\begin{description}
  \item[Printed Document] The results have been printed.
\end{description}

%------------------------------------------------------------------------------
% *** Enter any additional notes here.
%
\paragraph{\uc{}: Additional Notes}
The term \emph{printing system}, as used in this use case, refers to the printer hardware, and printer driver. The printing system is not a part of the \projectname{} project.
